home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / misc / ecfax931024.lha / faxcmd / libfax / RCS / tty.h,v < prev    next >
Text File  |  1993-10-25  |  2KB  |  126 lines

  1. head    1.3;
  2. access;
  3. symbols
  4.     OCT93:1.3;
  5. locks;
  6. comment    @ * @;
  7.  
  8.  
  9. 1.3
  10. date    93.09.18.20.16.23;    author Rhialto;    state Exp;
  11. branches;
  12. next    1.2;
  13.  
  14. 1.2
  15. date    93.06.11.16.15.25;    author Rhialto;    state Exp;
  16. branches;
  17. next    1.1;
  18.  
  19. 1.1
  20. date    93.06.11.15.19.27;    author Rhialto;    state Exp;
  21. branches;
  22. next    ;
  23.  
  24.  
  25. desc
  26. @Prototype for (former) tty.c
  27. @
  28.  
  29.  
  30. 1.3
  31. log
  32. @Unconditional prototypes.
  33. @
  34. text
  35. @/* $Id: tty.h,v 1.2 1993/06/11 16:15:25 Rhialto Exp $
  36.  * $Log: tty.h,v $
  37.  * Revision 1.2  1993/06/11  16:15:25  Rhialto
  38.  * First real RCS checkin
  39.  *
  40.  */
  41. /*
  42.   ttyio.h
  43.  
  44.   (c) Copyright 1991 by David M. Siegel.
  45.       All rights reserved.
  46.  
  47.   %W% %G% %U%
  48. */
  49.  
  50. #ifndef in_libfax_tty_h
  51. #define in_libfax_tty_h 1
  52.  
  53. /* Some fake termio values: */
  54. #define TCOON        1
  55. #define TCION        2
  56. #define TCOFLUSH    4
  57. #define TCIFLUSH    8
  58. #define TCIOFLUSH   (TCOFLUSH | TCIFLUSH)
  59. #define TCXONC        16
  60. #define TCOOFF        32
  61.  
  62. int ioctl(int, int, int);
  63.  
  64. typedef enum {
  65.     FC_OUTPUT_ON,    /* allow modem to send ^S to stop computer */
  66.     FC_INPUT_ON,    /* allow computer to send ^S to stop modem */
  67.     FC_BOTH_ON,     /* both input and output flow control on   */
  68.     FC_BOTH_OFF,    /* no flow control on               */
  69. } fc_state;
  70.  
  71. /*
  72.   Prototypes:
  73. */
  74.  
  75. int tty_fc(int fd, fc_state state);
  76. int tty_open(char *filename);
  77. int tty_close(int fd);
  78. int tcflush(int, int);
  79. int tcflow(int, int);
  80. int tcdrain(int);
  81. int fdprintf(int, char *, ...);
  82. #endif
  83. @
  84.  
  85.  
  86. 1.2
  87. log
  88. @First real RCS checkin
  89. @
  90. text
  91. @d1 5
  92. a5 2
  93. /* $Id$
  94.  * $Log$
  95. d41 3
  96. a43 19
  97. int tty_fc(
  98. #ifdef _PROTO
  99.      int fd,
  100.      fc_state state
  101. #endif
  102. );
  103.  
  104. int tty_open(
  105. #ifdef _PROTO
  106.      char *filename
  107. #endif
  108. );
  109.  
  110. int tty_close(
  111. #ifdef _PROTO
  112.      int fd
  113. #endif
  114. );
  115.  
  116. @
  117.  
  118.  
  119. 1.1
  120. log
  121. @Initial revision
  122. @
  123. text
  124. @d1 3
  125. @
  126.